/*
 * Copyright (c) $today.year-Now http://www.zxpnet.com All rights reserved.
 */

package com.zxp.security.service.impl;

import com.zxp.security.model.Role;
import com.zxp.security.repository.RoleRepository;
import com.zxp.security.service.RoleServiceI;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: shollin
 * @date: 2021/7/4/004 22:27
 */
@Service
public class RoleServiceImpl implements RoleServiceI {

    @Autowired
    RoleRepository roleRepository;

    @Override
    public Role save(Role role) {
        return roleRepository.save(role);
    }
}
